package com.sxhalo.fsms.mapper;

import com.sxhalo.fsms.domain.MotorRunningData;
import com.sxhalo.fsms.domain.RedisData;
import com.sxhalo.fsms.domain.TransducerRunningStatus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TransducerRunningStatusMapper {
    int deleteByPrimaryKey(Integer deviceId);

    int insert(TransducerRunningStatus record);

    int insertSelective(TransducerRunningStatus record);

    TransducerRunningStatus selectByPrimaryKey(Integer deviceId);

    int updateByPrimaryKeySelective(TransducerRunningStatus record);

    int updateByPrimaryKey(TransducerRunningStatus record);

    int batchInsertOrUpdate(@Param("list") List<RedisData> list);
}